package com.clw.form;

import lombok.Data;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotEmpty;

import java.util.Date;

/**
 * Created by Administrator on 2017-12-29.
 */
@Data
public class UserForm {

    private Integer id;

    @NotEmpty(message = "请输入完整信息")
    private Integer status;

    @NotEmpty(message = "请输入完整信息")
    private String userName;

    @NotEmpty(message = "请输入完整信息")
    private String phone;

    @NotEmpty(message = "请输入完整信息")
    private String nickname;

    @Email(message = "请输入正确有效格式")
    @NotEmpty(message = "请输入完整信息")
    private String email;
}
